
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8" />
    <title>个人信息</title>
    <link rel="stylesheet" type="text/css" href="${APP_PATH}/portal/css/public.css"/>
    <link rel="stylesheet" type="text/css" href="${APP_PATH}/portal/css/mygrxx.css" />
</head>
<body>
<!------------------------------head------------------------------>
<jsp:include page="/WEB-INF/jsps/Portal/common/top.jsp"/>
<!------------------------------idea------------------------------>
<div class="address" id="add">
    <div class="wrapper clearfix">
        <a href="${APP_PATH}/toPortal" class="fl">首页</a>
        <span>/</span>
        <a href="${APP_PATH}/toUser" class="on">个人中心</a>
    </div>
</div>

<!------------------------------Bott------------------------------>
<div class="Bott">
    <div class="wrapper clearfix">
        <jsp:include page="/WEB-INF/jsps/Portal/common/nav.jsp"/>
        <div class="you fl">
            <h2>个人信息</h2>
            <div class="gxin">
                <div class="tx"><a href="#"><img src="${APP_PATH}/portal/img/tx.png"/><p id="avatar">修改头像</p></a></div>
                <div class="xx">
                    <h3 class="clearfix"><strong class="fl">基础资料</strong><a href="#" class="fr" id="edit1">编辑</a></h3>
                    <div style="font-size: 15px;">昵称：${sessionScope.user.unick}</div>
                    <div style="font-size: 15px;">手机：${sessionScope.user.uphone}</div>
                    <div style="font-size: 15px;">姓名：${sessionScope.user.uname}</div>
                    <div style="font-size: 15px;">生日：${sessionScope.user.ubirth}</div>
                    <div style="font-size: 15px;">性别：${sessionScope.user.usex}</div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--遮罩-->
<div class="mask"></div>
<!--编辑弹框-->
<div class="bj">
    <div class="clearfix"><a href="#" class="fr gb"><img src="${APP_PATH}/portal/img/icon4.png"/></a></div>
    <h3>编辑基础资料</h3>
    <form action="${APP_PATH}/user/updateUser" method="post">
        <input type="hidden" name="uid" value="${sessionScope.user.uid}"/>
        <p><label>昵称：</label><input type="text" name="unick"  value="${sessionScope.user.unick}" /></p>
        <p><label>姓名：</label><input type="text" name="uname"  value="${sessionScope.user.uname}" /></p>
        <p><label>手机：</label><input type="text" name="uphone"  value="${sessionScope.user.uphone}" /></p>
        <p><label>生日：</label><input type="text" name="ubirth"  value="${sessionScope.user.ubirth}"/></p>
        <p>
            <label>性别：</label>
            <span><input style="width: 5px; vertical-align: middle;" type="radio" name="usex"  value="男" ${sessionScope.user.usex == '男'? "checked":""}/>男</span>
            <span><input style="width: 5px; vertical-align: middle;" type="radio"  name="usex" value="女" ${sessionScope.user.usex == '女'? "checked":""}/>女</span>
        </p>
        <div class="bc">
            <input type="submit" value="保存"  />
            <input type="button" value="取消" />
        </div>
    </form>
</div>

<!--修改头像-->
<div class="avatar">
    <div class="clearfix"><a href="#" class="fr gb"><img src="${APP_PATH}/portal/img/icon4.png"/></a></div>
    <h3>修改头像</h3>
    <form action="#" method="get">
        <h4>请上传图片</h4>
        <input type="button" value="上传头像" />
        <p>jpg或png，大小不超过2M</p>
        <input type="submit" value="提交" />
    </form>
</div>

<!--返回顶部-->
<jsp:include page="/WEB-INF/jsps/Portal/common/gotop.jsp"/>
<!--footer-->
<jsp:include page="/WEB-INF/jsps/Portal/common/bottom.jsp"/>
<script src="${APP_PATH}/portal/js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="${APP_PATH}/portal/js/public.js" type="text/javascript" charset="utf-8"></script>
<script src="${APP_PATH}/portal/js/user.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>

